package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Remark;
import cn.wolfcode.luowowo.article.domain.RemarkContent;
import cn.wolfcode.luowowo.article.query.RemarkQuery;
import com.github.pagehelper.PageInfo;

public interface IRemarkService {
    /**
     * 保存评论
     * @param remark
     *
     */
    void save(Remark remark);

    /**
     * 点评分页
     * @param qo
     * @return
     */
    PageInfo query(RemarkQuery qo);

    /**
     * 评论点赞
     * @param remarkId
     * @param uid
     */
    void favornum(Long remarkId, Long uid);
}
